package com.news.dao;

import com.news.data.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Author : xuzhiyong
 * Date : 2022/5/23 9:22
 */
public interface UserDao extends JpaRepository<User,Integer> {

    User findByUsernameAndPassword(String username, String password);
}
